package com.zhc.community.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class User {

    private int id;
    private String username;
    private String password;
    private String salt; //盐
    private String email;
    private int type;  //类型   0-普通用户; 1-超级管理员; 2-版主;
    private int status; //状态  0-未激活; 1-已激活;
    private String activationCode; //激活码
    private String headerUrl; //头像路劲
    private Date createTime;  //注册时间


}
